home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Linux Cubed Series 8: LINUX Games
/
Linux Cubed Series 8 - LINUX Games.iso
/
games
/
actionrp
/
lrogue0.1
/
lrogue0
/
rogue
/
Makefile
< prev
next >
Wrap
Makefile
|
1992-09-28
|
2KB
|
89 lines
ROGUE_OBJS = curses.o hit.o init.o instruct.o inventory.o level.o machdep.o main.o \
message.o monster.o move.o object.o pack.o play.o random.o ring.o \
room.o save.o score.o spec_hit.o throw.o trap.o use.o zap.o
CC = cc
# Remember to remove the "-lcurses -ltermlib" if compiling with -DCURSES.
# Put into CFLAGS those UNIX "defines" which apply to your system. Their
# should be at least two.
# -DCURSES enables a self-contained curses emulation package. See notes
# in curses.c for more info.
CFLAGS = -c -DUNIX -DUNIX_SYS5 -DCURSES
rogue: $(ROGUE_OBJS)
$(CC) $(ROGUE_OBJS) -o rogue
curses.o: curses.c rogue.h
$(CC) $(CFLAGS) curses.c
hit.o: hit.c rogue.h
$(CC) $(CFLAGS) hit.c
init.o: init.c rogue.h
$(CC) $(CFLAGS) init.c
instruct.o: instruct.c rogue.h
$(CC) $(CFLAGS) instruct.c
inventory.o: inventory.c rogue.h
$(CC) $(CFLAGS) inventory.c
level.o: level.c rogue.h
$(CC) $(CFLAGS) level.c
machdep.o: machdep.c rogue.h
$(CC) $(CFLAGS) machdep.c
main.o: main.c rogue.h
$(CC) $(CFLAGS) main.c
message.o: message.c rogue.h
$(CC) $(CFLAGS) message.c
monster.o: monster.c rogue.h
$(CC) $(CFLAGS) monster.c
move.o: move.c rogue.h
$(CC) $(CFLAGS) move.c
object.o: object.c rogue.h
$(CC) $(CFLAGS) object.c
pack.o: pack.c rogue.h
$(CC) $(CFLAGS) pack.c
play.o: play.c rogue.h
$(CC) $(CFLAGS) play.c
random.o: random.c
$(CC) $(CFLAGS) random.c
ring.o: ring.c rogue.h
$(CC) $(CFLAGS) ring.c
room.o: room.c rogue.h
$(CC) $(CFLAGS) room.c
save.o: save.c rogue.h
$(CC) $(CFLAGS) save.c
score.o: score.c rogue.h
$(CC) $(CFLAGS) score.c
spec_hit.o: spec_hit.c rogue.h
$(CC) $(CFLAGS) spec_hit.c
throw.o: throw.c rogue.h
$(CC) $(CFLAGS) throw.c
trap.o: trap.c rogue.h
$(CC) $(CFLAGS) trap.c
use.o: use.c rogue.h
$(CC) $(CFLAGS) use.c
zap.o: zap.c rogue.h
$(CC) $(CFLAGS) zap.c